package com.vivimice.lotroller.device;

public class NotGate extends LogicalGate {

	public NotGate(Device upperDevice) {
		super(new Device[] { upperDevice });
	}
	
	@Override
	public boolean getStatus() {
		return !getUpperDevices()[0].getStatus();
	}

}
